package de.wbh.gwt.form.layouter.shared.activity;

import com.google.web.bindery.event.shared.Event;

public class FieldRemovedEvent extends Event<FieldRemovedEvent.Handler> {

	public static interface Handler {
		void onFieldRemoved();
	}

	private static final Type<Handler> type = new Type<FieldRemovedEvent.Handler>();

	public static Type<Handler> getType() {
		return type;
	}

	@Override
	protected void dispatch(Handler handler) {
		handler.onFieldRemoved();
	}

	@Override
	public com.google.web.bindery.event.shared.Event.Type<Handler> getAssociatedType() {
		return type;
	}

}
